Interfaces for Scripting: Making Greasemonkey Scripts Resilient to Website Upgrades
نویسندگان
چکیده
Thousands of users are streamlining their Web interactions through user scripts using special weavers such as Greasemonkey. Thousands of programmers are releasing their scripts in public repositories. Millions of downloads prove the success of this approach. So far, most scripts are just a few lines long. Although the amateurism of this community can partially explain this fact, it can also stem from the doubt about whether larger efforts will pay off. The fact that scripts directly access page structure makes scripts fragile to page upgrades. This brings the nightmare of maintenance, even more daunting considering the leisure-driven characteristic of this community. On these grounds, this work introduces interfaces for scripting. Akin to the JavaScript programming model, Scripting Interfaces are event-based, but rather than being defined in terms of low-level, user-interface events, Scripting Interfaces abstract these DOM events into conceptual events. Scripts can now subscribe to or notify of conceptual events in a similar way to what they did before. So-developed scripts improve their change resilience, portability, readability and easiness to collaborative development of scripts. This is achieved with no paradigm shift: programmers keep using native JavaScript mechanisms to handle conceptual
منابع مشابه
The Modding Web: Layman Tuning of Websites
The Web is still much regarded as a user space rather than an author space. Hence, Web engineering cares for both current user requirements (e.g. usability) and future user requirements (e.g. maintainability), but overlooks author needs. This tendency is already observed in the increasing availability of open APIs and mashup applications. This work addresses another way of end user authorship, ...
متن کاملMonkey-in-the-browser: Malware and vulnerabilities in augmented browsing script markets – extended version
With the constant migration of applications from the desktop to the web, power users have found ways of enhancing web applications, at the client-side, according to their needs. In this paper, we investigate this phenomenon by focusing on the popular Greasemonkey extension which enables users to write scripts that arbitrarily change the content of any page, allowing them to remove unwanted feat...
متن کاملNNexus Glasses: a drop-in showcase for wikification
This paper describes a general drop-in approach for showcasing web services and web user interfaces, provided they are accessible through or realized via JavaScript and CSS. The author utilizes the Greasemonkey extension for Firefox to invade the client with user scripts, which load the desired new functionality, as if looking at the web through an enhanced pair of glasses. Such demos have so f...
متن کاملA Web Developer's Guide to Cross-Site Scripting
Cross-site scripting attacks are those in which attackers inject malicious code, usually client-side scripts, into web applications from outside sources. Because of the number of possible injection locations and techniques, many applications are vulnerable to this attack method. Scripting attacks differ from other web application vulnerabilities because they attack an application’s users, not a...
متن کاملCrowdsourced Web Augmentation: A Security Model
Web augmentation alters the rendering of existing Web applications at the back of these applications. Changing the layout, adding/removing content or providing additional hyperlinks/widgets are examples of Web augmentation that account for a more personalized user experience. Crowdsourced Web augmentation considers end users not only the beneficiaries but also the contributors of augmentation s...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2010